package ferp.android.views.table.element.button;

import android.content.Context;
import android.widget.Button;
import ferp.android.GUI;
import ferp.android.R;
import ferp.android.views.table.TableView;

/**
 * User: olegs
 * Date: 04/01/2015 21:20
 */
public class UndoDrop extends ButtonElement
{
  public UndoDrop(Context context, TableView parent) {super(context, parent);}

  @Override
  protected final Button create(Context context, TableView parent)
  {
    Button button = new Button(context);

    button.setBackgroundResource(R.drawable.selector_button_undo_drop);
    button.setTypeface(GUI.Font.BOLD);
    button.setTextColor(GUI.Color.NORMAL);

    return button;
  }
}
